home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
c
/
jazlib.arc
/
WSEARCH.C
< prev
Wrap
Text File
|
1986-05-15
|
327b
|
18 lines
/* return a pointer to a window number or nil */
#include <jzscreen.h>
extern THEADER g_header;
TWINDOW *wsearch(fnum)
int fnum;
{
THEADER wptr;
wptr = g_header;
while (wptr.first)
if (wptr.first->number == (char) fnum) return(wptr.first);
else wptr.first = wptr.first->next;
return(0);
}